/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tableprocessor;

public class DBCathegory
{
    private int id;
    private String name;
    private int parent;
    public DBCathegory(){}
    public DBCathegory(String name_, int parent_){name = name_; parent = parent_;}
    public String getName()
    {
        return name;
    }
    public void setName(String name_)
    {
        name = name_;
    }
    public void setId(int id_)
    {
        id = id_;
    }
    public int getId()
    {
        return id;
    }
    public int getParent()
    {
        return parent;
    }
    public void setParent(int parent_)
    {
        parent = parent_;
    }
}
